package com.jiangchao.mimidao.example.service.impl;

import com.jiangchao.mimidao.example.dao.EmployeeDao;
import com.jiangchao.mimidao.example.entity.Employee;
import com.jiangchao.mimidao.example.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("employeeServiceImpl")
public class EmployeeServiceImpl implements IEmployeeService {

  @Autowired
  private EmployeeDao dao;

  public Employee get(String id) {
    return dao.get(id);
  }
}
